package com.accp.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.accp.pojo.UserInfo;

public interface UserInfoMapper {
	int deleteByPrimaryKey(String loginid);

	int insert(UserInfo record);

	int insertSelective(UserInfo record);

	UserInfo selectByPrimaryKey(String loginid);

	int updateByPrimaryKeySelective(UserInfo record);

	int updateByPrimaryKey(UserInfo record);

	UserInfo getUser(@Param("loginId") String loginId,
			@Param("userPwd") String userPwd);

	int add(UserInfo userInfo);
	
	List<UserInfo> getAllUser();

}